package com.dearbinge.data.pojo.commodity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品详情页vo
 *
 * @author wes
 * @date 2019/2/17
 */
@ApiModel
public class CommodityForwardVO implements Serializable {


    @ApiModelProperty("商品id")
    private Integer commodityId;

    @ApiModelProperty("图片")
    private String imgUrl;

    @ApiModelProperty("展示价格（在规格价格之内）")
    private BigDecimal retailPrice;

    @ApiModelProperty("商品名字")
    private String commodityName;

    @ApiModelProperty("商品编码")
    private String commodityCode;

    @ApiModelProperty("总库存")
    private Integer commodityStock;

    @ApiModelProperty("店铺名字")
    private String shopName;

    @ApiModelProperty("店铺id")
    private Integer shopId;

    @ApiModelProperty("转发状态 false 失效 true 有效")
    private Boolean forwardStatus;

    @ApiModelProperty("佣金金额（对应展示价格）")
    private BigDecimal commissionPrice;


    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setForwardStatus(Boolean forwardStatus) {
        this.forwardStatus = forwardStatus;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityCode() {
        return commodityCode;
    }

    public void setCommodityCode(String commodityCode) {
        this.commodityCode = commodityCode;
    }

    public Integer getCommodityStock() {
        return commodityStock;
    }

    public void setCommodityStock(Integer commodityStock) {
        this.commodityStock = commodityStock;
    }

    public Boolean getForwardStatus() {
        return forwardStatus;
    }

    @Override
    public String toString() {
        return "CommodityForwardVO{" +
                "shopName='" + shopName + '\'' +
                ", shopId=" + shopId +
                ", commodityId=" + commodityId +
                ", forwardStatus=" + forwardStatus +
                ", imgUrl='" + imgUrl + '\'' +
                ", retailPrice=" + retailPrice +
                ", commodityName='" + commodityName + '\'' +
                ", commodityCode='" + commodityCode + '\'' +
                ", commodityStock=" + commodityStock +
                '}';
    }

    public BigDecimal getCommissionPrice() {
        return commissionPrice;
    }

    public void setCommissionPrice(BigDecimal commissionPrice) {
        this.commissionPrice = commissionPrice;
    }
}
